/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -04 -17
 * Time: 23:13
 */
public class Student extends Person{
    private final String state;

    public Student(String name, String addr, String telp, String emil, String state) {
        super(name, addr, telp, emil);
        this.state = state;
    }

    @Override
    public String toString() {
        return "Student{" +
                "state=" + state +" "+super.toString()+
                '}';
    }
}
